#include "cmessagebox.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
    QApplication a(argc, argv);
    //CMessageBox w;
    //w.show();

    CMessageBox::showCMessageBox(nullptr, QStringLiteral("删除"), QStringLiteral("您确定要删除此任务吗？"), MESSAGE_WARNNING, BUTTON_OK_AND_CANCEL);
    //CMessageBox::showCMessageBox(NULL, QStringLiteral("退出"), QStringLiteral("任务为下载完，确定退出吗？"), MESSAGE_QUESTION, BUTTON_OK_AND_CANCEL);
    //CMessageBox::showCMessageBox(NULL, QStringLiteral("提示"), QStringLiteral("您输入的用户名不正确"), MESSAGE_INFORMATION, BUTTON_OK_AND_CANCEL);
    //CMessageBox::showCMessageBox(NULL, QStringLiteral("重命名"), QStringLiteral("文件名: "), MESSAGE_INPUT, BUTTON_OK_AND_CANCEL);

    return a.exec();
}
